//index.js
//获取应用实例
const app = getApp()

Page({
    data: {
        headerInterval: 5000,
        headerDuration: 1000,
        headerImageURLs: [
            '../../images/rolling1.jpg',
            '../../images/rolling2.jpg',
            '../../images/rolling3.jpg'
        ]
    },

    quiz: function() {
        wx.navigateTo({
            url: "../quiz/quiz",
            success: function() {
                console.log("navigate to quiz successful")
            },
            fail: function() {
                console.log("navigate to quiz failed")
            }
        })
    },

    info: function () {
        wx.navigateTo({
            url: "../info/info",
            success: function () {
                console.log("navigate to info successful")
            },
            fail: function () {
                console.log("navigate to info failed")
            }
        })
    },

  about: function () {
    wx.navigateTo({
      url: "../movie/movie",
    })
  },

    test: function() {
        wx.navigateTo({
            url: "../test/test",
            fail: function() {
                console.log("navigate to test failed")
            }
        })
    },

  know: function () {
    wx.navigateTo({
      url: "../know/know",
      fail: function () {
        console.log("navigate to test failed")
      }
    })
  },

  explain: function () {
    wx.navigateTo({
      url: "../explain/explain",
      fail: function () {
        console.log("navigate to test failed")
      }
    })
  },
})
